<h1 class="slider-topic"><a href="/user">My MomoGer</a></h1>
<a class="slider-title" href="#">My Profile</a>
<div class="slider-item">
	<a id="ajax-user-nick-link" href="<?php echo $this->url(array('action' => 'nick', 'controller' => 'user', 'module' => 'home'), null, TRUE); ?>">Change Nick</a>
	<a id="ajax-user-passwd-link" href="<?php echo $this->url(array('action' => 'passwd', 'controller' => 'user', 'module' => 'home'), null, TRUE); ?>">Change Password</a>
</div>
<?php foreach($this->categories as $type => $c) { ?>
<a class="slider-title ajax-list-<?php echo $type; ?>s" href="<?php echo $this->url(array('action' => 'list', 'controller' => $type, 'module' => 'home'), null, TRUE); ?>">My <?php echo ucfirst($type); ?>s</a>
<div class="slider-item">
	<a class="ajax-category-link" href="<?php echo $this->url(array('action' => 'index', 'controller' => 'category', 'module' => 'home', 'type' => $type), null, TRUE); ?>"><?php echo ucfirst($type); ?> Categories</a>
	<a id="ajax-add-<?php echo $type; ?>-link" href="<?php echo $this->url(array('action' => 'add', 'controller' => $type, 'module' => 'home'), null, TRUE); ?>">Add New <?php echo ucfirst($type); ?></a>
	<?php foreach ($c as $ac) { ?>
	<a class="ajax-list-<?php echo $type; ?>s" href="<?php echo $this->url(array('action' => 'list', 'controller' => $type, 'module' => 'home', 'category_id' => $ac['categoryID']), null, TRUE); ?>"><?php echo $ac['categoryName']; ?> (<?php echo $ac['categoryCounts']; ?>)</a>
	<?php } ?>
</div>
<?php } ?>
<a class="slider-title" href="#">Options</a>
<div class="slider-item">
	<a id="ajax-fetion-link" href="<?php echo $this->url(array('action' => 'fetion', 'controller' => 'user', 'module' => 'home'), null, TRUE); ?>">China Mobile Fetion</a>
</div>